Processing XPath Expressions in Relational Databases

نویسنده

  • Tadeusz Pankowski
چکیده

Research on processing XML documents gained much activity in recent times. XML query languages are mostly based on XPath expressions, which are used to select parts of XML documents. So, methods defining semantics for XPath expressions are of special importance. In the paper we propose a relational semantics for XPath expressions. The semantics consists of four semantic functions defined over specific categories of XPath expressions and over contexts determined by the current state of computation. The definition is all sound, complete and expressive. We show that semantic functions can be naturally encoded in SQL and used to query XML documents stored in relational database. Some relevant optimization problems are also discussed.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

View Selection for Stream Processing

Consider XML content-based document routing: a stream of XML documents are routed through a network, and routing decisions are taken based on the result of evaluating XPath predicates on these documents. Parsing XML documents and interpreting XPath expressions is the main bottleneck in such systems. We propose a novel solution to speedup the evaluation of XPath predicates based on precomputing ...

متن کامل

Enhancing the Tree Awareness of a Relational DBMS: Adding Staircase Join to PostgreSQL

Given a suitable encoding, any relational DBMS is able to answer queries on tree-structured data. However, conventional relational databases are generally not (made) aware of the underlying tree structure and thus fail to make full use of the encoded information. The staircase join is a new join algorithm intended to enhance the tree awareness of a relational DBMS. It was developed to speed up ...

متن کامل

Rewriting declarative query languages

Queries against databases are formulated in declarative languages. Examples are the relational query language SQL and XPath or XQuery for querying data stored in XML. Using a declarative query language, the querist does not need to know about or decide on anything about the actual strategy a system uses to answer the query. Instead, the system can freely choose among the algorithms it employs t...

متن کامل

XML Databases: Principles and Usage

Originally XML was used as a standard protocol for data exchange in computing. The evolution of information technology has opened up new situations in which XML can be used to author, maintain, and deliver content and consequently, new applications of XML occurred. XML serves as a data model and background for databases of XML documents as well as for applications beyond today's data models (hi...

متن کامل

Improving the Efficiency of XPath Execution on Relational Systems

This work describes a method for processing XPath on a relational back-end that significantly limits the number of SQL joins required, takes advantage of the strengths of modern SQL query processors, exploits XML schema information and has low implementation complexity. The method is based on the splitting of XPath expressions into Primary Path Fragments (PPFs) and their subsequent combination ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004